package com.xsprite.managesys.bean;

public class LevelSection {
	private int startLv;
	private int endLv;
	public int getStartLv() {
		return startLv;
	}
	public void setStartLv(int startLv) {
		this.startLv = startLv;
	}
	public int getEndLv() {
		return endLv;
	}
	public void setEndLv(int endLv) {
		this.endLv = endLv;
	}
	
	public boolean isInLvSection(int level){
		if(level >= startLv && level <= endLv){
			return true;
		}
		return false;
	}
	
	public LevelSection(int startLv, int endLv){
		this.startLv = startLv;
		this.endLv = endLv;
	}
}
